home *** CD-ROM | disk | FTP | other *** search
/ The Utilities Experience / The Utilities Experience - Volume 1.iso / software / graphics / a-g / fu / formulas / mandelpower.form < prev    next >
Encoding:
Text File  |  1995-12-21  |  263 b   |  28 lines

  1. MandelPower
  2. {
  3.     {
  4.         x1=-2.0
  5.         x2= 2.0
  6.         y1=-2.0
  7.         y2= 2.0
  8.         par1.r=3.0            ; real part of exponent
  9.         par1.i=0.0            ; imag part of exponent
  10.         bailout=2.0
  11.     }
  12.     {
  13.         c=pixel
  14.         z=pixel
  15.     }
  16.     {
  17.         z=pow(z,par1)
  18.         z=z+c
  19.         w=abs(z)
  20.     }
  21.     {
  22.         w>bailout
  23.     }
  24.     {
  25.         par1 : exponent
  26.     }
  27. }
  28.